package com.taoxi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.taoxi.common.annotation.Excel;
import com.taoxi.common.core.domain.BaseEntity;

/**
 * 实体店列表对象 store
 *
 * @author ruoyi
 * @date 2024-10-12
 */
public class Store extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 实体店id */
    private Long storeId;

    /** 会员id */
    @Excel(name = "会员id")
    private Long userId;

    /** 实体店名称 */
    @Excel(name = "实体店名称")
    private String storeName;

    /** 店铺热线 */
    @Excel(name = "店铺热线")
    private String telphone;

    /** 开店资质 */
    @Excel(name = "开店资质")
    private String licence;

    /** 店铺售卖类型 */
    @Excel(name = "店铺售卖类型")
    private String type;

    /** 开店人姓名 */
    @Excel(name = "开店人姓名")
    private String keeperName;

    /** 开店人证件 */
    @Excel(name = "开店人证件")
    private String keeperIdcard;

    /** 审核状态(0未审核 1未通过 2已通过) */
    @Excel(name = "审核状态(0未审核 1未通过 2已通过)")
    private String status;

    /** 实体店地址 */
    @Excel(name = "实体店地址")
    private String location;

    /** 开店时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开店时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setTelphone(String telphone)
    {
        this.telphone = telphone;
    }

    public String getTelphone()
    {
        return telphone;
    }
    public void setLicence(String licence)
    {
        this.licence = licence;
    }

    public String getLicence()
    {
        return licence;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setKeeperName(String keeperName)
    {
        this.keeperName = keeperName;
    }

    public String getKeeperName()
    {
        return keeperName;
    }
    public void setKeeperIdcard(String keeperIdcard)
    {
        this.keeperIdcard = keeperIdcard;
    }

    public String getKeeperIdcard()
    {
        return keeperIdcard;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setOpenTime(Date openTime)
    {
        this.openTime = openTime;
    }

    public Date getOpenTime()
    {
        return openTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("storeId", getStoreId())
                .append("userId", getUserId())
                .append("storeName", getStoreName())
                .append("telphone", getTelphone())
                .append("licence", getLicence())
                .append("type", getType())
                .append("keeperName", getKeeperName())
                .append("keeperIdcard", getKeeperIdcard())
                .append("status", getStatus())
                .append("location", getLocation())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .append("openTime", getOpenTime())
                .toString();
    }
}
